@page "/Temp"
@using Title = AntDesign.Charts.Title

<Bar Data="data1" Config="config1" />

@code{
    readonly object[] data1 =
{
        new {地区 = "华东", 销售额 = 4684506.442},
        new {地区 = "中南", 销售额 = 4137415.0929999948},
        new {地区 = "东北", 销售额 = 2681567.469000001},
        new {地区 = "华北", 销售额 = 2447301.017000004},
        new {地区 = "西南", 销售额 = 1303124.508000002},
        new {地区 = "西北", 销售额 = 815039.5959999998}
    };

    readonly BarConfig config1 = new BarConfig
    {
        XField = "销售额",
        YField = "地区",
        Label = new BarViewConfigLabel
        {
            Visible = true,
        }
    };


}

